package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created by IntelliJ IDEA.
 * User: 许志民
 * Date: 2022-01-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "focus_user")
public class FocusUser implements java.io.Serializable{

    private static final long serialVersionUID = 6739966698394686521L;

    private ObjectId id;
    //关注者id
    private Long userId;
    //小视频创建者id
    private Long videoUserId;
    //创建时间
    private Long created;
}
